<template>
    <!-- <el-menu 
    :default-active="activeIndex"
    class="el-menu-demo"
    mode="horizontal"
    background-color="#545c64"
    text-color="#fff"
    active-text-color="#ffd04b"
    > -->
    <div style="width: 200px;">
        <el-menu 
    :default-active="activeIndex"
    class="el-menu-vertical-demo"
    mode="vertical"
    background-color="#545c64"
    text-color="#fff"
    active-text-color="#ffd04b"
    
    >
        <el-menu-item index="1">首页</el-menu-item>
        <el-sub-menu index="2">
            <template #title>我的</template>
            <el-menu-item index="2-1">计划1</el-menu-item>
            <el-menu-item index="2-2">计划2</el-menu-item>
            <el-menu-item index="2-3">计划3</el-menu-item>
            <el-sub-menu index="2-4">
                <template #title>计划4</template>
                <el-menu-item index="2-4-1">item one</el-menu-item>
                <el-menu-item index="2-4-2">item two</el-menu-item>
                <el-menu-item index="2-4-3">item three</el-menu-item>
            </el-sub-menu>
        </el-sub-menu>
        <el-menu-item index="3" disabled>信息</el-menu-item>
        <el-menu-item index="4">联系</el-menu-item>
    </el-menu>
    </div>
    
  </template>
  <script setup>
  import { ref } from 'vue'
  const activeIndex = ref('1')

  </script>
  
<style scoped>

</style>